<%@ page import="com.qf.pojo.Emp" %><%--
  Created by IntelliJ IDEA.
  com.qf.pojo.User: sun
  Date: 2022/9/7
  Time: 11:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改员工</title>
</head>
<body>

    <form action="/updateEmp" method="post">
        <input type="hidden" name="id" value="${emp.id}">
        <table>
            <tr>
                <td>姓名：</td>
                <td><input type="text" name="name" value="${emp.name}"></td>
            </tr>
            <tr>
                <td>工资：</td>
                <td><input type="number" name="salary" value="${emp.salary}"></td>
            </tr>
            <tr>
                <td>年龄：</td>
                <td><input type="number" name="age" value="${emp.age}"></td>
            </tr>
            <tr>
                <td colspan="2" align="center"><input type="submit" value="修改"></td>
            </tr>
        </table>



    </form>

</body>
</html>
